package net.wwang.blog.controller.admin;

import net.wwang.blog.commons.global.ResponseResult;
import org.springframework.web.bind.annotation.*;

/**
 * @author WangWei
 * @date 2020/8/14
 */
@RestController
@RequestMapping(value = "/admin/web")
public class WebInformationApi {
    @GetMapping(value = "/title")
    public ResponseResult getTitle(){
        return  null;
    }


    @PutMapping(value = "/title")
    public ResponseResult updateTitle(@RequestParam("title")String title){
        return  null;
    }

    @GetMapping(value = "/seo")
    public ResponseResult getSeoInfo(){
        return null;
    }

    @PutMapping(value = "/seo")
    public ResponseResult putSeoInfo(@RequestParam("key")String keywords,@RequestParam("description")String description){
        return null;
    }

    @GetMapping(value = "/view_count")
    public ResponseResult getWebViewCount(){
        return null;
    }
}
